﻿<UserControl x:Class="DailyFx.Studio.CanvasView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             
             xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
             xmlns:oxy="clr-namespace:OxyPlot.Wpf;assembly=OxyPlot.Wpf" 
             
             d:DesignHeight="300" d:DesignWidth="300">
    
    
    <Grid>
        <ScrollViewer HorizontalScrollBarVisibility="Disabled">
            <StackPanel>
                <ItemsControl x:Name="Charts" >
                    <ItemsControl.ItemTemplate>
                        <DataTemplate>
                            <!--<StackPanel>
                                <TextBlock Text="XSXX"></TextBlock>
                                <TextBlock Text="{Binding Category}"></TextBlock>
                            </StackPanel>-->
                           
                            <oxy:Plot Model="{Binding ModelImpl}" Height="{Binding Category}" Margin="-10" />
                        </DataTemplate>
                    </ItemsControl.ItemTemplate>
                </ItemsControl>
            </StackPanel>
           
        </ScrollViewer>
    </Grid>
</UserControl>
